package com.daka.dao;

import com.daka.entity.User;
import com.daka.mybatis.SQLMapper;
import org.springframework.stereotype.Repository;

/**
 * Created by yangx
 * Date: 2016/7/25 0025
 * Time: 11:24
 */
@Repository(value = "userMapper")
@SQLMapper
public interface UserMapper {


    User queryByMobile(String mobile);

    int insert(User record);

    int updateByPrimaryKeySelective(User record);

    User selectByPrimaryKey(long id);
}